package com.ruoyi.mysqldump.mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.mybatisplus.cache.MybatisPlusRedisCache;
import com.ruoyi.common.core.mybatisplus.core.BaseMapperPlus;
import org.apache.ibatis.annotations.CacheNamespace;
import com.ruoyi.mysqldump.domain.BizProjectBackup;
import com.ruoyi.mysqldump.vo.BizProjectBackupVo;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 备份管理Mapper接口
 *
 * @author Tellsea
 * @date 2022-02-11
 */
@CacheNamespace(implementation = MybatisPlusRedisCache.class, eviction = MybatisPlusRedisCache.class)
public interface BizProjectBackupMapper extends BaseMapperPlus<BizProjectBackup> {

    Page<BizProjectBackupVo> queryList(Page<?> page, @Param("entity") BizProjectBackupVo entity);

    BizProjectBackupVo queryById(@Param("id") Long id);
}
